package com.groupfifteen.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.groupfifteen.entity.SysAdminEntity;
import com.groupfifteen.vo.SysAdminVo;

public interface SysAdminService extends IService<SysAdminEntity> {
    Integer AddSysAdmin(SysAdminEntity sysAdminEntity);
    IPage<SysAdminEntity> Query(SysAdminEntity sysAdminEntity, int pageNo, int pageSize);

    IPage<SysAdminEntity> Query(SysAdminVo sysAdminVo);


    Integer DeleteSysAdmin(Integer adminId);

    SysAdminEntity GetSysAdmin(Integer adminId);

    Integer UpdateSysAdmin(SysAdminEntity sysAdminEntity);
}